package com.tbit.uqbike.constant;

/**
 * Redis产量
 *
 * @author Leon
 * 2017年5月18日 下午5:09:43
 */
public class RedisConstant {
    /**
     * 设备前缀
     */
    public static final String REDIS_HASH_ID_HEAD = "uq";
    public static final String REIDS_ORDER_LIST_TER = "order";

    public static final String REDIS_TER_LAST_POS = "tLP";
    public static final String REDIS_TER_LAST_BATTERY = "tLB";
    public static final String REDIS_TER_ROUTE_KEY = "tRK";
    public static final String REDIS_TER_PKG_DT = "tLT";
    public static final String REDIS_TER_SYNC_TIME = "tST";
    public static final String REDIS_TER_SYNC_VALUE = "tSV";
    public static final String REDIS_TER_NEW_SOFTWAVE = "tNS";
    /**
     * 最后状态
     */
    public static final String REDIS_TER_LAST_STATUS = "tLS";

    public static final String REFUND_KEY_PREFIX = "refund";


    /******************************业务信息redis存储key定义*********************************************/
    /**
     * 电子围栏
     */
    public static final String GEO_KEY_PREFIX = "GEO#";
    /**
     * 计费规则
     */
    public static final String FEERULE_KEY_PREFIX = "FEERULE#";
    /**
     * 系统配置
     */
    public static final String CONFIG_KEY_PREFIX = "CONFIG#";
    /**
     * 微信支付配置
     */
    public static final String WXPAY_KEY_PREFIX = "WXPAY#";
    /**
     * 小程序配置
     */
    public static final String MPCONFIG_KEY_PREFIX = "MPCONFIG#";
    /**
     * 短信配置
     */
    public static final String SMSCONFIG_KEY_PREFIX = "SMSCONFIG#";
    /**
     * 里程缓存
     */
    public static final String MILEAGE_KEY_PREFIX = "MILEAGE#";
    /**
     * 里程缓存
     */
    public static final String ALARM_KEY_PREFIX = "ALARM#";

    /**
     * 账号到期时间
     */
    public static final String ACCOUNT_USER_EXPIRE_DATE = "accountUserExpireDate:";

    /**
     * pc账号最近登录时间
     */
    public static final String ACCOUNT_USER_PC_LOGIN_DATE = "accountUserPcLoginDate:";
    /**
     * pc账号免登录有效时间
     */
    public static final String ACCOUNT_USER_PC_FREE_LOGIN = "accountUserPcFreeLogin:";

    /**
     * 运维账号最近登录时间
     */
    public static final String ACCOUNT_USER_MAIN_LOGIN_DATE = "accountUserMainLoginDate:";
    /**
     * 运维账号免登录有效时间
     */
    public static final String ACCOUNT_USER_MAIN_FREE_LOGIN = "accountUserMainFreeLogin:";
    /**
     * 用户实名认证次数缓存
     */
    public static final String USER_AUTH_COUNT_PREFIX = "user_auth_count";
    /**
     * 锁定订单金额
     */
    public static final String LOCK_ORDER_MONEY = "lock_order_money:";
    /**
     * 用户对应的token列表
     */
    public static final String REDIS_ACCOUNT_USER_TOKEN_LIST = "USER.TOKEN.LIST.";

    /**
     * 车辆升级语音配置文件redisKey
     */
    public static final String VOICE_CONFIG_KEY = "voice_config_key";

    /**
     * 车辆升级语音lPushkey
     */
    public static final String VOICE_LPUSH_KEY = "voice_lpush_key";

    /**
     * 车辆统计缓存
     */
    public static final String MACHINE_STAT_CATCH = "machine_stat_catch";

    /**
     * 人脸校验key
     */
    public static final String FACE_CHECK = "face_check";

    /**
     * GPS查车登陆
     */
    public static final String REDIS_GPS = "REDISGPS";
    /**
     * 品牌配置缓存前缀
     */
    public static final String BRANDREMOTECONFIG_KEY_PREFIX = "BRANDREMOTECONFIG#";

    /**
     * 自定义临时通电时长前缀
     */
    public static final String TEMP_POWER_KEY = "temp_power_key";

    /**
     * 挪车记录订单二级hash
     */
    public static final String REDIS_TER_BIKE_MOVE_CHANGE_RIDE_MAP = "MOVECHANGERIDEMAP";

    /**
     * 挪车记录订单缓存
     */
    public static final String REDIS_TER_MOVE_CHANGE_RIDE = "MOVECHANGERIDE";
}
